package com.linsir.i18n;

import com.linsir.common.utils.xx;

import java.util.HashMap;

/**
 * @author Administrator
 * @title: I18N
 * @projectName linsir-mu
 * @description: TODO
 * @date 2021/12/2 9:58
 */
public class I18N extends HashMap<String, String> {

    private static final long serialVersionUID = 1L;

    public String get(String key) {
        String s = super.get(key);
        if (xx.isEmpty(s)) {
            return key;
        }
        return s;
    }
}
